package GUI;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 * @Author: liqkjm
 * @Date: 2018-09-07 10:24
 */
public class ShowFrame extends JFrame implements ActionListener {
    // JPanel jp1;
    JLabel input_label, show_label;
    JPanel controllerPanel;
    JTextField input_text, show_text;
    JButton submit_btn;
    public ShowFrame() {
        input_label = new JLabel("输入命令");
        show_label = new JLabel("查询结果");
        new JTextField(20);

        // 创建一个匿名的FlowLayout对象
        setLayout (new FlowLayout(FlowLayout.LEFT, 10, 20));
        add(new JLabel("输入命令"));
        add(new JTextField(20));
        add(new JLabel("查询结果"));
        add(new JTextField(20));




    }

    @Override
    public void actionPerformed(ActionEvent e) {

    }
}
